package com.peter.design.pattern.observer.general;

/**
 * @Auther: 肖冬
 * @Date: 2020/8/1 02:19
 * @Description:
 */
public class ConcreteObserver1 implements Observer{

    public void update(Observable o) {
        System.out.println("观察者1观察到" + o.getClass().getSimpleName() + "发生变化");
        System.out.println("观察者1做出相应");
    }

}
